btree: fix build error for enabled counters
Makefile: fix build for stats_client