[cmake] Use different macro for ConfigVersion.