fix compilation ubuntu, gcc-4.6