This reverts commit e0e567a106726f6709601ee7cffe73eb6da8084e.
On various platforms, the new approach using the sysconfig module
reported incorrect values for the include directory, and so any
Python-related compilations failed. Revert for now and revisit later.