Fix spec tests

Without this patch, the spec tests test for the wrong condition when the
test should fail on unsupported platforms.
Merge pull request #4 from ghoneycutt/fix_spec_test

Fix spec tests