Add support for disabling building GDB