switched to cmake.