Fix crash bug in source gem on OS X, Ruby 1.9 (?!? - related to using std::tr1?)