Add platform check for additional constraints attributes.
Merge pull request #28 from devxoul/patch-1

Add platform check for additional constraints attributes.