include: MSVC bug/warning fixes
include: removed duplicate variable declaration