compile sources using rebar api