Add startup code for use with macgap binary release.