Recommend to use build directory for cmake.