put libraries in CACHE_DIR