Fix node detection on debian