[master] Fixed compilation warnings

Fixed warnings from compilation that were being hidden in the output