[x] Fixing some compilation warnings