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
Windows & POSIX use a different separator for the PATH environment variable. Windows is ';', while POSIX is ':'.  This function will correctly add a path to the env var.