[FIX] various Visual Studio related fixes