Fixed OSX build, at least for SDL