Switching to cmake