dia to sml: fix broken build