Make --install respect TARGET for .ibc AND objects

Fixes #509