improve ccache support

Change-Id: I5401f7068d6f830adba293eadbbe307e6bf736f8
fix graphite optimization support

Change-Id: Ifa79b8714559d5d8710aaa6a17e9b26ffd226304
Merge pull request #1 from eugenesan/jellybean
Merge commit '499391d150533231afd2daea5eea604c06c8bc14' into jellybean