Fix problem when adding gem to other projects