Use 4.8 GCC toolchain and add GCC optimizations

Change-Id: I3b9ff2cb54c4081844acf8ddb82d3163bb042414