configure: fix a CC vs. CC_FOR_BUILD mismatch