Fixes #55: not respecting cacheDir if not in grails profile