Add OS X support; Closes #1