Makefile can now compile the c++ files with all the corrects flags