Fix to make Analysis work on Mac