cmake: support building with CMake 2.6.4 without mruby support

You still need CMake 2.8.8 or later for building with mruby support.