build.sh: adopting new standard order for Makefile discovery