tweaks to get erasures working with gcc