more spawn fixes for Windows