updating libpdcsharp and adding pthread dependency