Add build environment, remove ModLoader compat