Matching platform based on string was a terrible idea. This patch checks
for compatible gemspecs.
Added test for platform gemspecs