only use rdynamic for gcc
clang/tcc do not use this flag