Fix Windows build.

- Deactivate NaCl.
- Fix some very wrong method signature.
Merge pull request #1915 from darktears/win-build-fix

Fix Windows build.