Another version string fix, also 1.8 hash syntax

Apologies for not fixing all the version checks in the last pull request.

This also includes a fix for the ruby 1.8 hash syntax to be consistent with the rest of the project.