[Gotham] Windows build fixes for VNSI and WMC

See commit messages for the details.

@opdenkamp: you probably want to update https://github.com/xbmc/xbmc/pull/3806 also before merging to xbmc/master