Changed progressbar wrapping to #if !defined(_WIN32)