Fixed build path and dependencies.

Change-Id: If61c693233032475807b3626993dc91715e880c0