Fix build with cm-10.1