ctest fixes for travis