fix heapdump=true build