Changed compiler to g++