fixes for graphite installation