Update CDash script for MacOS