Fix for windows addressing #139

Added the correct if condition check for windows. The change isnt working as of now!