Make sure to check for Windows crypto functions for both mingw and cygwin.