build.sh: allow to replace build directory by a symlink

Use case: redirect the build into a ramdisk (less write on sdd and potentially faster io)