Move -Werror to platform file.  Also, %zu can't be used on Windows.