fix test case build error