Add EnableLoadExtension to enable WinPhone compilation.

Please excuse the bad indentation.
A future pull request fixes it.