Add windows helper functions