Improve make perf: no DEBUG and DATE shell calls

Faster REVISION, add DEFINES to config.h to be more consistent.