ctest fixes for ppc