make.sh: allow C-side local includes and add architecture substitution