Removed one error and one warning on the Mac builds