Added defines to properly support wide characters