Improve ffmpeg definition in CMakeLists