updated to match current version of libdwgsms