fix light param and win32 binary