[bugfix] Makes libsocialcache to build

This commit fixes a warning in abstract image
downloader, and also makes libsocialcache build
again, by removing a deprecated moc include.