Refine the build functionality.

- Fixes errors when there was nothing to build (whole site committed).
- Symlinks the repository instead of copying it.