add -lpthread flag to build tests correctly
minor fix: add POSTLINKFLAGS in linking gtest
Merge branch 'master' of github.com:iglesias/shogun

Conflicts:
	tests/unit/Makefile
Merge pull request #867 from iglesias/master

minor fix: add POSTLINKFLAGS in linking gtest