Fix build of swupdate

Signed-off-by: Stefano Babic <sbabic@denx.de>