pthread and rt libs added to link when on linux
Merge pull request #66 from jdkoftinoff/master

pthread and rt libs added to link when on linux