[PATCH v2] dmscript: enable compilation with long types