CMake: Make an actual use of shared ffmpeg libraries.

This seems to override the FFMPEG_LIBRARIES set above. It would force using shared libraries.

Also there doesn't seem to be anywhere you can use FFMPEG_BUILDDIR now.