Fix cmake build + disable "unsafe" Lua package table