Make it build as C++ so it links properly against the C++-built version of Lua used in Aegisub too.
Aegisub needs Lua built as C++ (for stack unwinding on errors). No one packages it like that, so at the moment we can't actually use systme packages for Lua. Fixes a bunch of memory leaks on Automation errors.