Added fixes required by cppcheck o Win32 platform.

Signed-off-by: Ion Parau <iparau@mikogo.com>