Update Makefiles for stats subpackage