Move the version macro to the common repo