Fix Windows build ifdef check.