fix permissions, update to newer gemspec format