CMake: rework subdirectory handling