Make it compile without c++11
Merge pull request #27 from nierob/compileInC++98

Make it compile without c++11