Fixup texture handling in Glide.

Was completely broken ...
Add default compiler targets for windows.