fix typo

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Use PATH_MAX from limits.h, expect for in config-ini when running Windows

Signed-off-by: Mattias Andrée <maandree@operamail.com>