Add a default for gdb so that _APPLE is not left undefined.

Older versions of gdb don't have the api to detect whether a variable
was defined or not.