fix enchant compilation under vc11