Don't try to use CoreFoundation to find the web client directory, use the XDG code instead.
Fixes building the daemon from the command line on Mac OS X, bug #5304.