Makefile: Add graphite and other optimizations flags

Credits to pbeeler

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>