Any chance you could change this to simply finding the lua script via actual C strings, rather than a file.  For example:

```
const char *lua_script = "
#include "luatests/test.txt"
";
````

If that doesn't work, you can just include the `"`s in the `text.txt` file.