Updated the graphite template to work in both Ubuntu 12.04 and 14.04.