build: use python_finder always and fix/improve it

 - prefer `python2` over `python` to get `sys.version`.
 - look for and prefer libpython*.so.
 - prefer `python2-config` over `python-config`, although
   `python-config` seems to point at Python2 anyway (with pyenv).