Nuget - Error if using platform other than x86 or x64

Add platform check to give error if using platform other than x86 or x64