Renaming CACHE_DIR to match its value (PDB_CACHE_DIR)

Also removed duplicate definitions of CACHE_DIR and PDB_DIR