add CDF_BASE for Mac