Compile with C++11
Merge pull request #7 from tcoyne/c++11

Compile with C++11