Fixed vm_protect crash

Changing the `Optimization Level` in Xcode to `-O1` fixes the
vm_protect dyld error. Found this via the cocos2d-x project in this
discussion thread (https://github.com/cocos2d/cocos2d-x/issues/1268)

Additionally changed the isSupported method to static and cleaned up
the platform options.