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