Made "install.sh" respect CPPFLAGS
changed all "func()" to "func(void)"

The arguments of "func()" are undefined, so calling "func(i)" may behave
differently on different systems, which is not good at all.