Modified cmkae file to support compiling with c++11