Add support for calling lua functions from C++