Shifted to c++11 version for clang. #344

A lot of warnings and errors were being thrown due to usage c++11
standards. Updating the flag, removes the warnings