check build with clang and gcc