Changed the makefile to work with cpp