Fix build warnings in gcc-4.7
I meant '-Wall -Werror', not just '-Werror'