pthread fix
Inconsistent dependency resolution