Try to get this working on ruby 1.8.7