Added c++ flag to makefile