work around hhvm undefined constant issue

fixes #14