Should build properly on Linux again

Uses PATH_MAX which is defined in limits.h.. But we forgot to include
limits.h, oops.