Fix linking problem on Solaris 10.

libcfexecd.a is empty on non-Windows platforms, and Solaris doesn't
like that.
Merge remote-tracking branch 'upstream/3.5.x' into 3.5_surfsara