only def graphite external if --enable-graphite

Change-Id: I58271b5138b6dda4c448af63146a2f2171cb61a1