Error building Universal 10 with Unity 5.2.1 (Type exists in both UniversalApiContract and Windows)

When building I receive a error message:
error CS0433: The type ‘IBuffer’ exists in both ‘Windows.Foundation.UniversalApiContract, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime’ and ‘Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime’

Unity version 5.2.1p1, created new project without any additional plugins.

using UnityEngine;
#if UNITY_WSA && !UNITY_EDITOR
using Windows.Storage.Streams;
#endif

public class NewBehaviourScript : MonoBehaviour { 
    void Start () {
#if UNITY_WSA && !UNITY_EDITOR
        IBuffer passwordBuffer = null;
#endif
    }
}

Code compiles fine for Windows Universal 8.1 but fails for Universal 10.
It appears to me that both 8.1 and 10 libraries are added for Universal 10 build

Similar problem is discussed here, but mine is not connected to WinRTLegacy

There is 5.2.1p2 released, try that.

Problem fixed in p2
Thanx!

I’m getting similar errors all over the place trying to get my JSON .NET asset to build with Windows 10. I’ll give P2 a try and see if that clears things up.