fixes some lexer compat issues with HHVM