Fix Windows warnings