dmm: don't add trailing underscore when compiling on Windows