Feature/fix compilation warnings