Use glibpth instead of libpth.