Changed progressbar wrapping to #if !defined(__WIN32)