(Build) Fixed directory problems for edg-generate-sig

The script assumed that the build directory was somewhere
inside the source tree.