fix not to use UNIX_PATH_MAX for cross-platform