allow loading pmxdr in node.js