include: MSVC bug/warning fixes