pthread and rt libs added to link when on linux