Fixed bug where buildProject.sh would create invalid CPP code