If one does not assume $X$ and $X'$ compact, then there are relatively easy counter-examples: there is a vector bundle over an elliptic curve with total space analytically equivalent to $\mathbb{C}^\*\times\mathbb{C}^\*$, see e.g., Peters-Steenbrink, Mixed Hodge structures, p. 102.
HoweverThere are positive results as well, ifbut the only one I can think whenof is this: if $X$ and $X'$ are (possibly singular) compact algebraic surfaces, the answer to question 2 is positive, see Steenbrink-Stevens, Indag. (As far as I rememberMath., this was proved by J46, 1984, no. Steenbrink; If I find a precise reference1, I'll post itp.) 63-76.