Cross-platform way of loading environment variables from a profile file