Fix functions deprecated in Elixir 0.12
Merge pull request #1 from chazsconi/fix-deprecated-functions

Fix functions deprecated in Elixir 0.12