Add dependencies and build CWM

Change-Id: I618c9f362d131181eee03d33677f19a7010ba8ac