Merge pull request #564 from guidefloripa/master

Fix mingw compilation
Eliminate forcin pointers/integers to bool, fix errno redefine.
Cosmetic
Remove crypt32.lib from libsodium VS import dependencies.
Merge pull request #565 from evoskuil/master

Fix errno redefinition