make compile with gcc 4.* without warnings. (hopefully with all versions)