Fixed incompilable code generated by the C++/CLI back-end when wrapping certain unions