Fix dependencies and dtbTool build error

Change-Id: I99f193b0bd35e891764deb325f67d9c0d6845395