minor: Fixed deprecation warning in platform check

Using "platform?" caused a warning of "Setting attributes without specifying a precedence". This seems related to the bug http://tickets.opscode.com/browse/COOK-1929
Merge pull request #2 from fewbytes-cookbooks/master

minor: Fixed deprecation warning in platform check