Make it compile with rebar