Try a different cast to get Windows build working.