Use bundler's `platforms` directive in Gemfile.