Particularly, this fixes linking with pthreads. Signed-off-by: Christian Beier <dontmind@freeshell.org>