add -rdynamic to support backtrace_symbols