wscript: more macosx-10.8 fixes