Fixed some compiler warnings from the new objj-2 compiler