cleanup rebar configs, fix dependencies