Fix some codesigning issues