Autodetect binary for gdb based on provided arguments if running locally