Change cmake order