Fix support for "build (clean|distclean) <category>/all"