dirty hack to fix os x binary issue