Trying to fix compilation warnings