build: fix including modules.mk for targets pulled in from feeds