Moved PlatformResolver into internal package (temporarily) to resolve dependency cycle