Fix compile failed problem.