Haiku: Enable CMake builtin ELF editor

Co-Author: Brad King <brad.king@kitware.com>
Haiku: Fix compiler detection when using distcc

Also remove outdated include directories.
Merge topic 'haiku-updates' into next

0cc42b87 Haiku: Fix compiler detection when using distcc
84603d80 Haiku: Enable CMake builtin ELF editor
cmake: Advise user to remove CMakeFiles with CMakeCache.txt (#14820)
Merge topic 'remove-CMakeFiles-advice' into next

bccc056b cmake: Advise user to remove CMakeFiles with CMakeCache.txt (#14820)