Fix compiling on CM7