Build fails on Ubuntu 14.04 due to missing -lpthread

+ Append output of threads check to DYNAMIPS_LIBRARIES
Merge pull request #40 from dlintott/master

CMake: fix missing pthread library (merge)