Fixed build path and dependencies.

Change-Id: I009121bfcb249ad5b747dcc25f6455fecd05a38f