Fix problem on OSX and Linux of progress bar not showing up.