Fixes for rebar / OTP.