Convert Thread to boost

thread priority setting for non-windows platforms dropped (it's not used
in fact (except not important cases) at non-Windows platforms.