Fix all kinds of strict warnings