sm fix: we generate _sm.cc/h from .sm files