Add unit test to prevent new dependencies from lib/framework to src/ from being added undetected.
Do not use WZ_DECL_THREAD on MacOSX. This makes WZ_DECL_THREAD not worth in general for now.