Fix parallel build.

when running `make -j8` for example, unix/file.c requires generated.sh but dependency is not satisfied.