fixing compilation on g++ by adding pthread dependency. also added include cstring in test code.
Merge commit 'c04bf057447ae2bab8bd4940b83a5e004d51e852'

Conflicts:
	depends/tinythreadpp/CMakeLists.txt