copy system properties in an immutable map to avoid CMEs. fixes #264