Fix version_compare in build