Fix to allow compilation under WindowsPhone
Fix to allow file to be parsed correctly under Android and hopefully iOS.