added a detect OS X boolean