Uses startup info only on windows, fixes #1