Fix warnings that may happen since we do -werror on Windows now