fix build when neither 'gcc' or 'clang' exist

cc @vtjnash