Add missing keeps needed for embedded samples.

Should address the crash reported by Josh in #208.