add version_compare only for >= 3.2