How to build executables that will dump live backtraces