Changed registry check for XNA.

Updated from 3.1 to 4.0