[libc][NFC][Obvious] Tidy up some CMake files.

Conditionally adding subdirectories was missed in a few places previously.
This change adds the conditionals. A sub-directory was being added
needlessly in another place. That has been removed.

GitOrigin-RevId: 235e9cc9243109079d68ca1e387069606b517d44
4 files changed