FreeBSD uses the same .note.GNU-stack section to indicate that the stack should not be executable.
Makes Visual C runtime libraries consistent across Debug/MinSizeRel/Release/RelWithDebInfo, rather than just changing those flags for RelWithDebInfo. Also adds /Zl for statically linked libraries. Closes obsproject/obs-studio#1421
Fixes a number of warnings with all modules
Used by the update module on windows.