build: cope with the common gen_ndr files being in the git tree