build lua first