Darwin support

Windows is also doable, but not as easy.