Fix linux/osx build
Fix OSX build with SDL1.2 (nasty, nasty)