Added ifdefs so that DTDownloadCache also builds on Mac, but without image caching