Fix doc tests for libs with deps

The movement of tests to the main `target` directory forgot to update a spot
where rustdoc used a -L flag.
auto merge of #410 : alexcrichton/cargo/fix-doctest-with-dep, r=wycats

The movement of tests to the main `target` directory forgot to update a spot
where rustdoc used a -L flag.

Closes #411