Fix GCC warnings
Enable -Werror for nacl build
Enable -Werror for linux builds