CMake: Make an actual use of shared ffmpeg libraries.