Remove union to fix build in c++03.