Removed some compilation warnings (Ubuntu)