Include putty.h (and hence uxconfig.h) before testing for NO_GSSAPI, so that