fix an issue with load paths in ruby 1.9 mode