Just made sure that <nxcommon/config.h> is included in every header file of nxcommon.
Also, removed the old nxcommon thread API, as we can now use C++11 threads.
Merge branch 'master' of https://github.com/alemariusnexus/nxcommon