do not build or enable pthread debug

Change-Id: I0744c8c3229a450827f3a90529b320df101c3b42