changed g++ to gcc