improved detection of gcc binary path when not yet installed