move osx sdl files, fix to build for osx.