Revert "make it support toolchain 4.7+"

This reverts commit 15a7ae2c213716d43316cb0e8d4fc916c6496e43.
Revert "Optimization Makefile"

This reverts commit 3da66dbeb88206ea4d015c65a5fb24ce930935a3.