OSX version still needs a bit of work, but completely works now (#43)