Merge pull request #1174 from tiyowan/remove-defines

Use the MB_ENABLED constant for mb checks instead of multiple function_exists()