Small fixes, updated build script (CoreMod)