haval: failure to build after HAVE_TYPES_H code added