Mesh become offset when importing with animation

I want to import this windmill into unreal in glb format(fbx doesn’t work and gltf is weird):

If I import it without bone tracks the animation doesn’t work, and if I import with bone tracks it works but the blades become offset like this:

How do I make this work?

which version of the engine?
Do you import through asset route (content browser) or do you do file > Import into level?

Version 5.3. I’ve tried both ways of importing and the result is the same. I also checked the mesh in blender and noticed the Y och Z axis for each separate part are swapped, meaning if I move it along the Y axis it moves along the Z axis and vice versa.