Fixed using g++ if CXX isn't defined.
Bumped version to 1.0.0.5.