libSM: fix deps