add OS X support