Make dependency on progressbar optional

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>