Fixed build path and dependencies.

Change-Id: I480f7fd70282dec17f3aea5e113b8db788f5876b