add snprintf function check in configure to avoid conflicting types errors

build failed on RHEL5, reported by Denis Fateyev <denis at fateyev dot com>