Replacing sysconfig with distutils.sysconfig.

sysconfig is not available in Python 2.6. This works on OSX for Python
2.6-3.4. Let's hope it works everywhere.
Merge branch 'master' into fdsn_tests_speedup