removed chdir from luajit wrappers