disable -ftrapv on PowerPC, add compatible sanitize flags to apple clang