Play nice with MacOS

Solves #19