Build fails on Ubuntu 14.04 due to missing -lpthread

+ Append output of threads check to DYNAMIPS_LIBRARIES