[PATCH 2/5] wscript: Use CRT memory allocation functions.