build: Detect pthread flags and pass them to the linker
build: Detect pthread flags and pass them to the linker

chuckseberino/lift,nsubtil/lift,nsubtil/lift,chuckseberino/lift,chuckseberino/lift,nsubtil/lift