Fix check dependency to pthread
Fix check dependency to pthread

This break compilation on debian jessie.

nabilbendafi/haka,haka-security/haka,nabilbendafi/haka,lcheylus/haka,Wingless-Archangel/haka,lcheylus/haka,haka-security/haka,haka-security/haka,LubyRuffy/haka,LubyRuffy/haka,Wingless-Archangel/haka,lcheylus/haka,nabilbendafi/haka