linux ctest fixes