added support for MacPorts-libpath