fix VLC player on Mac
fix Mac OS X run script
Merge pull request #681 from LipuFei/fix-mac-vlc

fix VLC player on Mac
Merge pull request #677 from LipuFei/fix-mac-run-script

fix Mac OS X run script
fix Mac build scripts
update swift pointer
Merge pull request #682 from LipuFei/fix-mac-build

fix Mac build scripts