build: use amalgmation for lua build