Proper detection for G++ and Clang.
Merge pull request #245 from dpogue/cxx11

Proper detection for G++ and Clang for the C++11 flag