fix gcc -Wwrite-strings warnings

Signed-off-by: Steve Lawrence <slawrence@tresys.com>