Add conditional compilation for WebRequest.PreAuthenticate.