Fix simple compiler warnings