fix lua for native builds
prepare for lua benchmark