compile fix for Microsoft XNA.