Disable mbstring related code if extension is not enabled.