Modified for GCC-4.7+ Compiling

Signed-off-by: zwliew <zhaoweiliew@gmail.com>