Fix build with CM9