Update build script to support windows