fixing cmake patch