GCC is lame. But at least it's building now. Fixed up the build.ninja and made all tests pass (exceptions weren't being thrown because of `lua_pcall`: use `lua_call` to let exceptions propogate naturally).