Fix optional dependency on progressbar

It still didn't work if you were missing it