Build ffmpeg using automake instead of ffmpeg's (broken) Makefiles