Add class name as a valid strategy for non-Web platforms
Merge pull request #1596 from mobiware/master

Fix for #1595