build: fixing dependency for publication build