merlin: only use unit, lib, and bin build directories

add built component predicate