Fix build script

The previous zip creation lost symlinks and empty directories. Fix
based on https://gist.github.com/kgn/610907