Fixing issue with darwin build procedure