don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbp...