fixed some compilation (under linux) warnings