I think this change is not safe. It might break windows support (and other ruby versions).