Add -rdynamic to the linker flags to allow obtaining a bracktrace