stop installing empty .so files

Closes #4468
auto merge of #5482 : thestinger/rust/install, r=pcwalton

Closes #4468