Linux compile fixes. Better attempts at cross platform code.
All things compile on linux. This is far from working however...
Merge branch 'master' of https://github.com/JoJo2nd/Heart

Conflicts:
	CMakeLists.txt
	heart/CMakeLists.txt
	heart/src/base/hAtomic.cpp
	heart/src/base/hFunctor_gen.py
	heart/src/posix/pal/hConditionVariable.h