Replace python-config with pkg-config.

Also check if we have python2 and bail if we find python3