Added check for -rdynamic (.so calling main binary)