cope with stdlib errors in queues of forward declared structs