Clean errors on the installation process.
Minor fix to the code.
Merge pull request #2901 from openscholar/2886

Clean errors on the installation process.