fix ctest error.