Added sysstat support and fixed dependency management