Fix Mac breaking change