Use libdir() instead of hard coded string. Fixes #10903
auto merge of #10938 : jhasse/rust/patch-rustpkg, r=alexcrichton

rustpkg assumes library files to be in a directory called `lib`, but on Windows they are instead in the `bin` directory. This patch changes nothing on Unix system, since `libdir()` returns `"lib"` there.