PERI-4 add gcc support when resolving internal host names