configure: when detecting python we should disable pyconfig.h