fix a few compiler warnings

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
fix debug build..

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>