collection of fixes for latest rust

This addresses linking, vector pointer, and chan updates. Sorry for the interlaced edits, but tested working on latest rust master.