Fix coremod version substitution