added -std=c++11 flag to all makefiles