Fix all compilation warnings