Added " to echo in Makefile to improve compatibility.
Added __attribute__ ((__packed__)) to all structures where the field
layout matters, and packed was implied.