Changed gcc to g++ for compilation scripts