specify the static-lib pathnames, rather than hoping that the current library search path finds the right (static) version of -lwhatever. r=bsmedberg, a=asa.