set REBAR_DEPS_DIR in hooks env and run pre_compile hooks before deps compile