Fixes compile errors in several example sketches.