Add guard for windows