update gemspec to be more dynamic