Fix compiling when c++11 isn't the default or is not available.
Merge pull request #3 from edmodo/fix-compiling

Fix compiling when c++11 isn't the default or is not available.