Move sm4 from vendor/plugins/sm4 to /lib/sm4.