Added support for OSX/Mono per #1