Fix for building/testing under ruby 1.8