compile with gcc 4.6.4 on ubuntu