build: accept gcc/g++ without minor version