Don't use MB_CUR_MAX if compiling without multibyte support.