Support install_prefix and ruby versions