Update to cmake