Fixed an issue with missing console methods when running on Windows Phone.