Adds checking for windows