temporary fix thread building.

build-deps need to refer as threads.posix to work, until we use
the type_of_threads field that META uses.