Fix for Windows.

Fix process spawning to work on Windows. This allows the app to be
installed correctly.