Fix Cargo.toml

Stop to use depracated syntax.
Fix the compiler warning.

* Use `null_mut()` instead of `mut_null()`.
Merge pull request #2 from saneyuki/fix

Fix some build issues.