Found the problem. Had to
rm CMakeCache.txt
cmake .
now it compiles.
Actually this did not solve the problem, just removed web_wallet build from configuration. So now I did
cmake -DINCLUDE_QT_WALLET=ON .
and getting the same error again.
fatal error: WebUpdates.hpp: No such file or directory