refactor RIETVELD_REVISION setting to work with make build.