added makefile variable to switch C++ standard