Fixed the running of matterslice on mac