Fix for linux/darwin dependancies for gems