Fix all warnings from GCC -W4