Fix codesigning with newer Xcode versions