buildsystem: made search for pythoninterp, pythonlibs more resilient

fixes #26

we now search for pythonlibs, then for a pythoninterp that precisely matches the lib's version number.