Move version check to Forge code