gentoo's solution for system ffmpeg build