Fix: build scripts on Mac/Windows/Linux