Fix compilation not working correctly with other compilers than gcc.

Clang wasn't ACTUALLY being used in compile.sh, gcc was.