fix small incompatibility with Ruby 2.0
- build tested under 1.8.7 and 2.0 on Mavericks