Make ctest respect custom config