Test for existence of mb_strlen before calling

On LInux (e.g., CentOS) mb_string is not installed by default