Externalize publically-needed configure macros and fix GSS-related bugs.