Minor update to configure.py

- Added support for searching the LD_LIBRARY_PATH variable for libraries
  that should be linked.