add patch file for cross compilation on Darwin documentation of the changes is at the top of the patch file