Building an OTP application using rebar