Take out unnecessary library definitions as they seem to cause relinking
problems with libtool when building debian packages.