Split off CheckLibraryVersions.test.cpp.