ENH: remove compilation warnings