modified Makefile, now using this compiles system with c++11 support on mac