Fixes for building on Mac OS X
Remove unneeded SDL2 compile workaround