Make runnable on Linux

Make Windows specific initialisation conditional
Merge pull request #1 from mmv-ru/master

popen's startupinfo in a989c83 is more windows specific than first thought