Added support for Windows

The biggest issue in this module was that Windows uses a `;` to separate paths instead of `:`.
These changes should help with https://github.com/Strider-CD/strider/issues/326
Yeah, it should be. It has been a while since I was looking at it, so I may have tried PATH and ran into issues. I'll try it now that everything else seems to be working for me.