Fixed makefile to compile with c++11