added gcc check for std=c++11 flag