extern mod -> extern crate
ptr::to_unsafe_ptr no longer exists; replace a cast
Merge pull request #11 from MicahChalmer/mod_to_crate

Fix compilation after extern mod -> extern crate