fix build of ffmpeg; wrong pkg-config path was used and detected libraries not available in build environment