Added dependencies checking before installation process.