Fix build script and Makefile for Mac OS X
Quick fix for SDL_SetGamma crash on Mac OS 10.9
Merge branch 'sdl_crash_fix'