Fix type in cmake.