Windows support

On Windows, forking fails because we can't run JS files directly. I applied the same patch as in optipng-stream-bin.