Do not uglily deconst and fix build with gcc 4.2