Fix undef warnings from Text::ParseWords when running tests with -w