Make the redefinitions to error-provoking symbols conditional.