Implement CTestCustom.cmake files in sources. Attempt to fix ROOT-6529