helpers: fix compilation error with Elixir master