Fix issue where UTF8_ENABLED is not defined

The test suite was failing on HHVM because UTF8_ENABLED was not defined.