Fix OS X compilation with Xcode
Merge branch 'fix_osx_compile' into retroplayer-alpha12