compile for lua 5.1