declare pthread as a dependency (fix #135)