Fix Kinect VS project build settings.
Fix MSVC12 warnings.