Fix compile errors in synthesizer firmware