Fix comp warning for windows