Update wscript

Link the -DVERSION flag to the variable "VERSION" defined at the beginning.