Revert change to libcf-agent building.

It causes every source file in cf-agent to be built twice.
Merge pull request #1855 from kacfengine/double_building

Revert change to libcf-agent building.