I did the reboot after installing the original file, but I don't know if that's necessary. After reinstalling the modified libsms reboot wasn't needed - everything started to work correctly.