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

This fixes issue #1.