Ugly fix for ugly lack of platform abstraction in locale package
Minor changes in VS project