Add Windows support

The shebang has to be changed otherwise Windows cannot generate the command wrapper correctly.