Build fails on Ubuntu 14.04 due to missing -lpthread

Append output of CMAKE_THREAD_LIBS_INIT to DYNAMIPS_LIBRARIES