nitg: fix use only local files in generated Makefile (for C++)