Fix the ctype replacements to work with macro arguments that have side-effect, with exception to isspace which *might* need to become a function.