Minor refactoring in simple_exec_w32.c