Fixed build path and dependencies.

Change-Id: I1b2e9fa0329998a2ab62da563489bc46fc38ffad