Extension build failure on Mac due to error copying files

See earlier discussion here: Interpreting CDash reporting: extension is packaged despite build errors?