Allow gdb to be cross-compiled.