Doesn't build with Lua 5.2. (from Edgar Fuss)