Fix background process start on Windows

One user reported me a strange behavior of the autocompletion module under the Windows platform. The following patch seems to fix his problem.