Modified for CM build

Signed-off-by: quanganh2627 <quanganh2627@gmail.com>