fix module binary to work on windows