Added flags for building with newer toolchains (tested with linaro 4.7.3).
Add one more warning compile flag, to build SGX driver with newer linaro gcc toolchains (tested with 4.7.3).