some fixes

change makefile compile flag

gcc 4.9.x compile error fix

linaro: toolchain: fixes for better ARM support (https://github.com/anarkia1976/AK-xGenesis-Flo/commit/76ab2b28e1e2fc2a60ca01f8b2d4a287e861bb10)