Update ScriptEngine.cpp

DWORD is not defined in UNIX based systems. int should be fine