Fix install errors.
openscholar/openscholar#3265