Fixed some installation errors.