Add if statements to Gemfile for different OS support