refine gemfile to work on both linux and mac