Switch from Makefile to rebar.config.script for old_hash define