add libpthread to bdwgc lib