modified detect-luajit-extensions.c