Try to fix some more warnings

These have been annoying me.  Hopefully all non-Windows platforms will be okay with alloca.h.

The biggest thing of note is the thin3d change.

-[Unknown]