Solved issue #1 by providing binary (rebar 2.1) instead of symbolic link.
Fixed compilation warnings under R17.