Explicit struct type cast works for Mac :D