move awk detection to makefile_sub.inc in order to reduce unnecessary awk calls during build