Patched build process to support windows
run test on win