modify cmake for xcode