Can't find system FFMpeg when building 2.2.2 on Ubuntu 18

Do you have libavformat-dev installed?
(it may be worth also referring to this post: https://forum.audacityteam.org/t/building-audacity-2-2-0-on-ubuntu-17-04-zesty/46271/1)