make it work with elixir 0.12.4 or higher