fix compilation with 2.066