reduce autoconf version prereq to 2.65
fix format string warnings on 32bit