Added preprocessor support to link to sdl_gfx library on Windows and OS X