Added basic platform detection to Gemfile