Some size_t related type fixes for VS2013