add to x264&ffmpeg library build method