Allow dynamically shared library

Change-Id: I08c4019e28ca68abb1241370294ac4dd1303fe34
Merge remote-tracking branch 'cm/cm-10.2' into HEAD