Swapped out the need to use GLEW for SDL's OpenGL stuff.
replaced tabs with spaces + fixed compile error on linux