auto-export malloc, needed by file packager