Add agent libs to exported configure flags.