Fixed build on windows and removed -std=c++11 flag setting in socialserver/ha cmakelists - it's already enabled globally