Switched to generic check for C++11 flag.