ffiwrapper is now generated lazily preventing calls to cstring until the function is called.
Fixing error messages to be consistent across Terra and luajit.