configure.ac: only build where <linux/types.h> is available

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>