Squelch MSVC deprecation warnings.

Add _CRT_NONSTDC_NO_DEPRECATE and _CRT_SECURE_NO_WARNINGS.
Remove more x86-specific stuff.