fix tagbar error in Mac OSX