compile success on Ubuntu 12.04, lua5.2