improved makefile, fixed some warnings and removed linking on pthread (unused)
Merge pull request #8 from MagicalTux/master

improved makefile, fixed some warnings and removed linking on pthread (unused)