Fix sources not being used on Mac