cache: define cache paths and GBUILD_CACHE_ENABLED only if caching is enabled
Merge pull request #73 from theuni/cache

cache: define cache paths and GBUILD_CACHE_ENABLED conditionally