Fix gcc compiler warning by adding #ifdef GDB_HELPERS