fix compile for GCC 4.7
fix compile for GCC 4.7