Fixed bug when passing BOOL to Lua, upgrade to lua 1.5.1