Add footswitch-pcom from 3.0 and fix compile