fix for vs2013 compile
Merge pull request #35 from guanlisheng/master

use std::atomic_init rather than non default std::atomic constructors for compatibility with vs2013.