rework build scripts
update osx ffmpeg