Fixed using g++ when LDSHAREDXX is not defined by rbconfig.
Bumped version to 1.0.0.6.