adjusted luaL_prepbuffer to luaL_prepbuffsize because of problems on ubuntu