CMake 3.0 compatibility:

CMAKE_CXX_COMPILER_ID may be "AppleClang" rather than "Clang" if it's the
separately versioned Apple variety on OSX. Make the test robust to either
by using MATCHES instead of STREQUAL.
Strutil: add simple functions for easy parsing from string_view's