Unix/Linux makefiles: Remove use of -O2 flag that causes problems.

For older versions of gcc, -O2 can cause a warning/error concerning
strchr(). This was fixed in gcc 4.5. Chao Guan.