compile with gcc 4.7