Remove trailing whitespace
Make CFG_LIBDIR configurable. Fixes #5223
auto merge of #11045 : jhasse/rust/patch-libdir, r=alexcrichton

See https://github.com/mozilla/rust/issues/5223#issuecomment-30455086