Fix luarocks --with-luajit

The --with-lua compile flag is supposed to specify
a *prefix* at which the lua binary can be found.

See http://luarocks.org/en/Installation_instructions_for_Unix

Closes #28770.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>