Make CWM buildable and executable

Change-Id: Ib2bfd11a7f255e344e40e3aa718167896ea68c70