s3:wscript: fix the build without any idmap module