Contribution for Google Summer of code 2016 by Gabriel Gatu
This should solve building ejabberd as an Elixir dependency.