Fixed build path and dependencies.

Change-Id: If68800f1725094707a5b425c738138e1c20ea6c1