hints/bsdos.sh: Add correct flags for compilation with pthreads