Link against pthread