Added os check to call appropriate install class.