Fix warnings on target

Signed-off-by: Robin Getz <robin.getz@analog.com>