Update rebar to 2.5.1 (fixes work under erlang.mk)

Solves this issue https://github.com/ninenines/erlang.mk/issues/77