Gems fix for windows