Change flags for mac wrapper scripts, make the executable.