Fix compiler warnings

I never like to start debugging until all warnings have been silenced