Adapt to MassiveThreads
Fix Makefile
Merge pull request #3 from xxthermidorxx/massivethreads

Adapt to Massivethreads