Enable `#pattern` without the `-DLUAJIT_ENABLE_LUA52COMPAT` compile flag.