Update system call for windows use

Updated the syntax for use on windows systems. The ' | type' was causing
an error on the windows system call. Basic testing shows that removing
the ' | type' from the system call results in a working script.