BUG: Fix build errors when linking to python library in OpenSuse.

Specify libdir to the python configure command so it forces it
to be installed in the correct directory (python-build/lib)
Closes #2899