[bamf] fix not building without checkdepends