Add debug symbols to debug build
Protection against failure to allocate a lua global state