configure: python: RHEL 6 doesn't have sysconfig, use distutils.sysconfig instead.

This works on recent Python as well.