VS2010 build: Fixed compatibility with non-MSVS compilers.
VS2010 build: Cosmetic changes in project configuration.