do not set CACHE_DIR as side effect when parsing common_functions