Use a flag to switch to C++11
Interleaving C++11 implementation within original spin_mutex
Fixing locally defined but not used 'DummyType'
Fixing redefinition of _rotl macro