include/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errors