Fix simple compiler warnings

Some quick fixes for the easy warnings.