more vips7 compat fixes

thanks steve