Adopt to lua 5.2.