Updated to rebar OTP structure.