lua: fixed 32bit build