fix build to compile with CM kernels and QCOM targets