check for -std=c++11 compiler option