PEP8 fixes in shlib.py

Conform shlibs.py to the PEP8 standard. New additions were causing make
check to fail:
 Fixed E211 whitespace before '('
 Fixed E501 line too long (104 > 99 characters)