[s3]build: fix building bin/replacetort (lib/replace has moved)