Added old exception rescuing style as well 

Added (Gem::Installer::ExtensionBuildError, Mixlib::ShellOut::ShellCommandFailed => e) to rescue block.