Your only option would to be to build your own Samba, but keep in mind the Samba team is slowly removing pieces of SMB1, so even if you re-enable the SMB1 server build, it still may not work for you.