Fix some issues on Windows

- Avoid NullPointerException in deploy command
- The starting of the local runtime is blocking operation on Windows, so
  Forge should not wait for it to exit