Add -std=c++11 to makefile