add rudimentary MacOSX Support