Heikki Korpela posted a patch that makes --libs include the directory in