Fixed build path and dependencies.

Change-Id: Ie6a273e5144146452f79e563a457f2845c52c6a0