Fix build with sm-toolchain 4.8.x in the Makefile

-Use CC instead of REAL_CC
-Remove the wrapper, archheaders and archscripts
-Add missing-syscalls

Signed-off-by: Paul Beeler <sparksco@gmail.com>
GCC 4.7 fixes
-o3 fix