clean up compiler warnings

not earlier noticed due to CFLAGS... :-(