Use .libs directory in unit test instead of rename().

It's too fragile to move things around. Let's obey libtool instead
and look inside .libs.

Additionally, do not depend on an installed cfengine-enterprise.so
plugin.