build: Improve speed of find
commands in Makefile
#5463
Merged
find
commands in Makefile
#5463