rebar.config

{deps,
 [{hdr_histogram, "~> 0.3"}
 ]}.

{erl_opts, [debug_info,
            {platform_define, "^(R|17)", before_OTP_18},
            {platform_define, "^[^R1]", ceil_floor} %% from OTP 20
           ]}.