Better support for window

- Properly split %PATH%
- Assume an implied .exe extension