In validate, use gmake if available; based on a patch from Gabor PALI