Fix warnings, remove target

cc https://github.com/rust-lang/rust/issues/12327
Merge pull request #5 from steveklabnik/master

Fixes for a clean build.