um, fixes for building ffmpeg on macosx mountain lion