aom 3.1 is included in the repository, but imagemagick still links against aom 2
$this->bbcode_second_pass_code('', '
$ ldd /usr/lib/ImageMagick-7.1.0/modules-Q16HDRI/coders/heic.so|grep aom
libaom.so.2 => not found
')
Hope the forum is ok for this kinda thing