cmake: fix typo problem for header files
fix alignement on sync counter, the MSDN said we need it on M-CPU system
inline version of atomic operator on Visual C
disable warning of __declspec(align())