Use local require text lib

Using a remote require text lib causes an
error during require optimize.