fix ROOT_PREFIX var OS X only