update gemspec w/platform-specific code