compilation fixes

### Description
Fixed a few compiler warnings that the compilation of 'make install' gave in Ubuntu.