Fixed sdl port on osx