Use Cargo for building library

Closes https://github.com/PistonDevelopers/rust-empty/issues/168
Merge pull request #172 from bvssvni/master

Use Cargo for building library