Fix ffmpeg export for OSX