Fix capability detection on core profiles
Merge pull request #90 from bjz/fix-capabilities

Fix capability detection on core profiles