Added a script to fix the executable for mac

Added a script to fix the executable for mac