numerous fixes and support for packaging ruby 1.9.3