Recognize lib dirs that may be used later

This let you specify a bunch of directory names on the command line
to *all* packages, without getting annoying warnings that they are
defined but not used.
Merge pull request #259 from rolk/259_withwarn

Recognize lib dirs that may be used later
Merge branch 'master' into devel