FIX Simplify second recompile and make it safer.

This reinvokes rebar with hooks stripped, so which will prevent infinite
recursion.

Also prevents post-hooks execution, which might cause wrong symlinking.