COMP: 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).  It
also fixes compilation error when building python on OpenSuse
because panels.h form ncurses can't be found.

Closes #2899

From: Ricardo Ortiz <ricardo.ortiz@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21653 3bd1e089-480b-0410-8dfb-8563597acbee