Do not link bins with flags and libraries defined in other gems.

It may cause unexpected build failures without this patch.
Because other bin gems may set flags/libraries which are unsuitable to your bins.