Fix warnings.
Fix warnings in NaCl build and add -Werror.