Modified makefile to allow for building of the stats module