Makefile: don't require python-config for non-Python builds

Disable the Python shared library rules completely.  This avoids bogus
build error messages like this one:

 make: python-config: Command not found