Thank @breser for his effort porting Bear to OSX