BUILD: use pkg-config to detect python

Needs probably testing under other distros and windows.

"pkg-config" is the right cross-distro way to check for python-2.7 and later. The current hacks fail for gentoo and python-3.3 even.