Also build as C++ with -std=c++11
Merge pull request #4 from weaselp/master

Also build as C++ with -std=c++11