ENH: correcting minors warnings caused by new compilation flags