cleanup compiler warnings on linux