Fix all compiler warnings