Change ifdef to check for __GLIBC__ instead of __linux__ to prevent errors with other libc's
Missed some traceback handler ifdefs
Merge pull request #1958 from James-TR/receiver_glibc_fix

Change ifdef to check for __GLIBC__ instead of __linux__ to prevent errors when building under other libc's