[PATCH 110/144] perf tools: Support Python 3.8+ in Makefile