Fixing build for installing rubygems