luajit: add --with-52compat option.

Closes #35259.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
libtermkey: add universal option

Closes #35271.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>