Check for windows
Updated pipes to work on windows
Merge pull request #21 from stakach/master

Add windows support