Fix DoNotLoadOnPlatformAttribute in DynamoLoader