Fix linking problem on Solaris 10.

libcfexecd.a is empty on non-Windows platforms, and Solaris doesn't
like that.