Use different flags for the i686 pthreads build
Also clean pthread