libstruct compilation