convert libSM to true multilib'