Only add compile directive for source files
msvc: Windows settings are now moved to config.json. Improved VSSettings class.