waf: add pthreads, librt and iconv tests