Fixed c++11 support detection, and a warning.
Fixed cpplint warnings