add proper externs for the "path" module