CTest: Remove usages of CMAKE_INTDIR

The configuration in which CMake/CTest itself is built should not
influence runtime path selection.
2 files changed