Add preinstall script for xpc-connection on OSX.