Correct permission issue under OS X

The script loses the executable bit when built under windows. Ensure
that's executable before trying to run it