Enable C++11 for builds.
Merge pull request #130 from ahmedcharles/cxx11

Enable C++11 for builds.