build: directly avoid SUBDIRS on no tests