fix ruby patchlevel support