Merge pull request #105 from cmr/master

Generate a link.rs to avoid needing link-args
Fix link.rs on OS X
Merge pull request #106 from bjz/link-args

Fix link.rs on OS X
fix build.sh for cargo-lite