bugfix: link error of pthread in linux.

Signed-off-by: Godai Azuma <godai0519@gmail.com>