A modified chicken-bind for better support of passing structs by value