Add Windows support
Emulate which on Windows
Fix path seperators