Fix generate VS solution

replace '\' with '/' in glob.py so it works on windows
update arguments passed to glob.py
comment out optional
replace std::atomic_bool with std::atomic<bool>