build: drop extra inclusion of CheckCXXCompilerFlag