hammer.git: use PKG_BUILD_NAME for build directory

Use PKG_BUILD_NAME for build directory to guarantee an unique directory
name for each build. Also ensure that each non-shared source package
is unpacked into an unique directory.