for upstream since the original project is missing libpthread linking all together. from Brad (maintainer)