[c++] How to enable core dump in my Linux C++ program