Fix OS X dist script

Wasn’t actually working perfectly when starting from scratch…