add support for ruby1.9.1 extension