add build and cache directories