Patches for configure hangs in environment without 127.0.0.1  [sf#3552819] [#1176]