Support for ruby1.8.x