update rebar to 2.1.0-pre and allow R16 in OTP Version