Changed build scripts to work on MacOS
DebugType none for release builds