Use pkg-config to determine FFmpeg linker flags.

Use 'pkg-config --libs' instead of 'pkg-config --libs-only-L'.