made switch in Makefile  between debug/perf depend on environment variable PERF