gdbserver: fix the standalone build