Add windows support

Adding a platform check and returning the windows path when appropriate.