fix heapdump build