fix build error at Lib.Apache