avoid warnings from apple's framework headers
apparantly, nobody uses these
fix some clang warnings