Create Windows-compatible start script

If Windows is detected, a Windows-compatible .bat script is
generated. If a different OS is detected, the traditional bash
script is generated.