added -std=c++11 to makefile