Changed the compiler to g++