fixed c++11 compilation for vs2013

Also I've added missed persisters to solution and ifdefed unistd.h