Fixed Ruby 1.8.7 syntax compatibility issues and workarounds other gems (issue #23)

Let's hope it gets the issue #23 a bit more silent for the moment.