Fix build under g++.
Merge pull request #3 from calmofthestorm/master

Fix build under g++.